#import "XMLLeafNode.h"

@implementation XMLLeafNode

@synthesize value;

- (id)initWithParent:(XMLNode *)p value:(NSString *)v
{
    if (self = [super initWithParent:p])
    {
        [self setValue:v];
    }
    return self;
}

- (NSString *)generateXML
{
    return [NSString stringWithFormat:@"%@", value];
}

@end
